﻿

using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace GH.Common.Framework.Business
{
    [DataContract(IsReference = true)]
    public abstract class BusinessEntityBase : IValidatableObject/*, IDataErrorInfo, INotifyPropertyChanged*/
    {
        #region IValidatableObject Members

        public virtual IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
        {
            yield break;
        }

        #endregion
        /*
        #region IDataErrorInfo Members

        [SkipSerialize]
        public string Error
        {
            get { return ""; }
        }

        public string this[string columnName]
        {
            get { return ""; }
        }

        #endregion

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion */ 
    }
}